Skip to main content

Remove Duplicate Range

AutomatR.Excel.Activities.RemoveDuplicateRange

The "Remove Duplicate Range" activity in AutomatR is part of the Excel activities package, designed to delete all rows that are duplicates within a specified range. This activity aids in data cleansing by removing redundant information based on the defined criteria within the given Excel range.

Properties

NameDescription
Input
RangeEnter the range from which duplicate rows need to be removed. String variables containing the range specification (e.g., "A1:C10").
Misc
Display NameThe display name of the activity. A display name is automatically generated when you indicate a target.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds i.e., 5) to start the activity. Integer variables containing the delay duration.

How to use:

  1. Drag and drop the "Remove Duplicate Range" activity onto the workflow.
  2. Configure the properties by specifying the range from which duplicate rows should be removed.
  3. Optionally, configure the delay.
  4. Execute the workflow to delete duplicate rows within the specified Excel range.

Example: Consider an example where the "Remove Duplicate Range" activity is used to remove duplicate rows within the range "A2:C20" in an Excel workbook:

Remove Duplicate Range:
Range: "A2:C20"

In this example, the activity deletes all rows within the specified range that are duplicates based on the entire row's content.

Note: Ensure that the specified range is valid; otherwise, the activity will raise an exception indicating an invalid range.

Important:

  • The activity considers entire row content for identifying duplicates within the specified range.
  • Be cautious while using this activity, as it permanently removes rows from the Excel sheet.